#ifndef SM_QUEUE_H
#define SM_QUEUE_H


#include <iostream>
#include <queue>
using namespace std;

#include "SMTC.h"
#include "SM_TABLE.h"


//创建队列
SMTC_EXPORT int sm_queue_create();
//销毁队列
SMTC_EXPORT int sm_queue_destory();
//排队数据
SMTC_EXPORT int sm_queue(IN int action_id, OUT SM_QUEUE_STATE_ENUM *queue_state);
//获得队列数据，并出队
SMTC_EXPORT int sm_get_result(OUT int *action_id, OUT SM_QUEUE_STATE_ENUM *queue_state);
//获取队列大小
SMTC_EXPORT int sm_get_queue_size(OUT int *size);
//获取队列容量
SMTC_EXPORT int sm_get_queue_max_size(OUT int *size);
#endif // SM_QUEUE_H
